package com.sunwayworld.core.helloworld.web;

import com.sunwayworld.common.struts2.BaseAction;

public class HelloWorldAction extends BaseAction {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public static final String MESSAGE = "HelloWorld.message";

	private String message;

	public String getMessage() {
		return message;
	}
	
	public void setMessage(String message) {
		this.message = message;
	}
	@Override
	public String execute() throws Exception {
		setMessage(getText(MESSAGE));
		return "ftl";
	}

}
